package com.sendmsg.controller;

import java.io.File;

/**
 * @author: Combo
 * @time: 2021/1/7 18:08
 * @description:
 */
public class Main {
    public static void main(String[] args) {

        // 发送文本消息
        SendText sendText = new SendText();
        sendText.Send("Combo's Text Message");

        // 发送附件文本消息
        File file = new File("D:/test.txt");
        SendRichText sendRichText = new SendRichText();
        sendRichText.Send(file);
    }
}
